Skip to content

[backend] Stream consumers should only return valid and ongoing consumers (#14816)#14824

Merged
richard-julien merged 2 commits intorelease/6.9.xfrom
issue/streamConsumersBackport
Mar 6, 2026
Merged

[backend] Stream consumers should only return valid and ongoing consumers (#14816)#14824
richard-julien merged 2 commits intorelease/6.9.xfrom
issue/streamConsumersBackport

Conversation

@Archidoit
Copy link
Member

Proposed changes

Backport this bug in 6.x : #14816

  • add backend tests for getConsumersForCollection
  • filter fetched consumers that have a userId or a connectedAt date that is valid, to ensure stream consumers returned are valid and ongoing

Related issues

#14816

@Archidoit Archidoit self-assigned this Mar 6, 2026
@Archidoit Archidoit added the filigran team use to identify PR from the Filigran team label Mar 6, 2026
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.12%. Comparing base (249c364) to head (d9ba181).
⚠️ Report is 1 commits behind head on release/6.9.x.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/6.9.x   #14824      +/-   ##
=================================================
+ Coverage          32.09%   32.12%   +0.02%     
=================================================
  Files               3010     3010              
  Lines             206754   206756       +2     
  Branches           37737    37758      +21     
=================================================
+ Hits               66368    66411      +43     
+ Misses            140386   140345      -41     
Flag Coverage Δ
opencti-client-python 45.53% <ø> (ø)
opencti-front 2.54% <ø> (+<0.01%) ⬆️
opencti-graphql 68.41% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Archidoit Archidoit force-pushed the issue/streamConsumersBackport branch from 89fafce to d9ba181 Compare March 6, 2026 14:26
@richard-julien richard-julien merged commit fe35370 into release/6.9.x Mar 6, 2026
34 checks passed
@richard-julien richard-julien deleted the issue/streamConsumersBackport branch March 6, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants